{
  "swagger": "2.0",
  "info": {
    "title": "Named Endpoints API",
    "version": "",
    "description": "This API example demonstrates how to define a standalone endpoint with an identifier.\n\n## API Blueprint\n\n+ [Previous: Advanced Action](12.%20Advanced%20Action.md)\n\n+ [This: Raw API Blueprint](https://raw.github.com/apiaryio/api-blueprint/master/examples/13.%20Named%20Endpoints.md)"
  },
  "paths": {
    "/messages": {
      "post": {
        "responses": {
          "201": {
            "description": "Created",
            "headers": {
              "Location": {
                "type": "string"
              }
            },
            "examples": {}
          }
        },
        "summary": "Create message",
        "operationId": "Create message",
        "description": "Start out by creating a message for the world to see.",
        "tags": [
          "Quick start"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              },
              "example": {
                "message": "Hello World!"
              }
            }
          }
        ],
        "consumes": [
          "application/json"
        ]
      }
    },
    "/tasks": {
      "post": {
        "responses": {
          "201": {
            "description": "Created",
            "headers": {
              "Location": {
                "type": "string"
              }
            },
            "examples": {}
          }
        },
        "summary": "Create a new task",
        "operationId": "Create a new task",
        "description": "Now create a task that you need to do at a later date.",
        "tags": [
          "Quick start"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "done": {
                  "type": "boolean"
                },
                "type": {
                  "type": "string"
                }
              },
              "example": {
                "name": "Exercise in gym",
                "done": false,
                "type": "task"
              }
            }
          }
        ],
        "consumes": [
          "application/json"
        ]
      }
    }
  },
  "definitions": {
    "Create message": {},
    "Create a new task": {}
  },
  "securityDefinitions": {},
  "tags": [
    {
      "name": "Quick start"
    }
  ]
}